package com.baike.service;

import com.baike.entity.TbTeacher;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2021-10-28
 */
public interface ITbTeacherService extends IService<TbTeacher> {

    List<TbTeacher> selectByName(String teacherName);

    TbTeacher selectByUserName(String username);
    //修改教师账号密码
    void toUpdatePassword(String teacherName, String pwd, String salt);
}
